
import { getCurrentInstance } from 'vue';

export function useI18n() {
	const { proxy } = getCurrentInstance();
	return {
		t(key) {
			return proxy.$translate(key);
		},
	};
}
